const add = (x, y) => x + y;

class Person {
    // age = 0;
    constructor(name) {
        this.name = name;
    }
    getName() {
        return this.name;
    }
}

// includes Array.prototype.includes
[1, 2, 3, 4, 5].includes(2);

//
// const p = new Promise((resolve) => {
//     resolve('ok');
// });

// Map、Set
// const map = new Map();
// map.set('key1', 'value1');

export default { Person, add };
